<template>
  <div class="fligs_list" >
    <div class="fligs_list_title">
      <div>航空信息</div>
      <div>起飞时间</div>
      <div>到达时间</div>
      <div>价格</div>
    </div>
    <div class="fligs_list_content">
      <FlightsItems
        v-for="item in flights"
        :key="item.id"
        :flightsitem="item"
      />
    </div>

  </div>
</template>

<script>
  export default {
    props: ["flights"]
  }
</script>

<style lang="less" scoped>
.fligs_list{
  .fligs_list_title{
    margin: 10px 0;
    height: 34px;
    background-color: #f6f6f6;
    display: flex;
    align-items: center;
    justify-content: space-around;
    font-size: 14px;
    color:#666;
    border: 1px solid #ccc;
  }
}
</style>